<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	body {
	font-family: '나눔고딕';
	font-size: 14px;
	font-weight: bold;
	color: red;
	margin-top: 100px;
	background-image: url('../images/main.jpg');
	background-size: 55% 57%;
	}
	.bw_btn{
		background-color: black;
		color: red;
		font-weight: bold;
		font-size: 15px;
	}
	.b_tb{
		background-color: black;
	}
	.bw_td{
		color: red;
		font-weight: bold;
		font-size: 20px;
	}
</style>
<script type="text/javascript" src="${pageContext.request.contextPath }/se2/js/HuskyEZCreator.js" charset="utf-8"></script>

</head>
<body>
	<form action="#" method="post">
		<div align="center" id="bw_div">
			<h1>답글 쓰기</h1>
			<table class="b_tb" width="75%">
				<tr>
					<td class="bw_td">글 유형</td>
					<td>
						<select>
							<option>분류선택</option>
							<option value=1>공지</option>
							<option value=2>질문</option>
							<option value=3>질문답변</option>
							<option value=4>유머</option>
							<option value=5>일상생활</option>
						</select>
					</td>
					<td width="50px;"></td>
				</tr>
				<tr>
					<td class="bw_td">제목</td>
					<td><input type="text" size="100"></td>
				</tr>
				<tr>
					<td class="bw_td">내용</td>
					<td bgcolor="red">
						<textarea name="ir1" id="ir1" rows="10" cols="100" style="width:100%; height:412px; min-width:610px; display:none;"></textarea>
					</td>
				</tr>
			</table>
			<table width="75%" class="b_tb">
				<tr>
					<td align="right">
						<a href="#">
							<input type="button" value="답글쓰기" id="btnWrite" class="bw_btn"></a>
						<input type="button" value="다시 작성" id="btnReset" class="bw_btn">
						<a href="javascript:onclick=history.back();">
							<input type="button" value="취소" id="btnCancel" class="bw_btn"></a>
						<a href="#">
							<input type="button" value="목록" id="btnList" class="bw_btn"> </a>
					</td>
					<td width="50px;"></td>
				</tr>
			</table>
			
		</div>
	</form>
	<script type="text/javascript">
		var oEditors = [];

		// 추가 글꼴 목록
		//var aAdditionalFontSet = [["MS UI Gothic", "MS UI Gothic"], ["Comic Sans MS", "Comic Sans MS"],["TEST","TEST"]];

		nhn.husky.EZCreator.createInIFrame({
			oAppRef : oEditors,
			elPlaceHolder : "ir1",
			sSkinURI : "${pageContext.request.contextPath }/se2/SmartEditor2Skin.html",
			htParams : {
				bUseToolbar : true, // 툴바 사용 여부 (true:사용/ false:사용하지 않음)
				bUseVerticalResizer : true, // 입력창 크기 조절바 사용 여부 (true:사용/ false:사용하지 않음)
				bUseModeChanger : true, // 모드 탭(Editor | HTML | TEXT) 사용 여부 (true:사용/ false:사용하지 않음)
				//aAdditionalFontList : aAdditionalFontSet,		// 추가 글꼴 목록
				fOnBeforeUnload : function() {
					alert("아싸!");
				}
			}, //boolean
			
			fCreator : "createSEditor2"
		});
	</script>
</body>
</html>